package com.openspring.baseinfo.service.impl;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.openspring.baseinfo.dao.UnitDAO;
import com.openspring.baseinfo.model.Unit;
import com.openspring.baseinfo.service.UnitService;
import com.openspring.framework.service.AbstractGenericService;

@Service("unitService")
public class UnitServiceImpl extends AbstractGenericService<Unit, Long> implements UnitService {
	
	//private UnitDAO unitDAO;

	@Resource(name="unitDAO")
	public void setUnitDAO(UnitDAO unitDAO) {
		super.setGenericDAO(unitDAO);
		//this.unitDAO = unitDAO;
	}
}
